﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Configuration;

namespace ApCMS.Common
{
    public class AppSetting
    {
        public string SiteName { get; set; }
        public string CompanyName { get; set; }
        public string Telphone { get; set; }
        public string Fax { get; set; }
        public string SeoDescription { get; set; }
        public string CopyRight { get; set; }
        public string ICP { get; set; }
        public string GlobalQuickLinks { get; set; }
        /// <summary>
        /// 初始化系统参数
        /// </summary>
        public AppSetting()
        {
            SiteName = ConfigurationManager.AppSettings["SiteName"];
            CompanyName = ConfigurationManager.AppSettings["CompanyName"];
            Telphone = ConfigurationManager.AppSettings["Telphone"];
            Fax = ConfigurationManager.AppSettings["Fax"];
            SeoDescription = ConfigurationManager.AppSettings["SeoDescription"];
            CopyRight = ConfigurationManager.AppSettings["CopyRight"];
            ICP = ConfigurationManager.AppSettings["ICP"];
            GlobalQuickLinks = ConfigurationManager.AppSettings["GlobalQuickLinks"];
        }
    }
}